home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / VBASIC / T2WIN910.ZIP / TIME2WIN.BAS < prev    next >
Encoding:
BASIC Source File  |  1997-01-16  |  84.3 KB  |  1,179 lines

  1. Option Explicit
  2.  
  3. ' definition for win.ini section
  4. Global Const GET_TIME_SEPARATOR = 1
  5. Global Const GET_DATE_SEPARATOR = 2
  6. Global Const GET_TIME_FORMAT = 3
  7. Global Const GET_DATE_FORMAT = 4
  8. Global Const GET_CURRENCY = 5
  9. Global Const GET_LANGUAGE = 6
  10. Global Const GET_COUNTRY = 7
  11. Global Const GET_COUNTRY_CODE = 8
  12. Global Const GET_LIST_SEPARATOR = 9
  13. Global Const GET_DEFAULT_PRINTER = 10
  14.  
  15. ' definition for drive type
  16. Global Const DRIVE_UNKNOW = 0
  17. Global Const DRIVE_REMOVABLE = 2
  18. Global Const DRIVE_FIXED = 3
  19. Global Const DRIVE_REMOTE = 4
  20. Global Const DRIVE_CDROM = 20
  21.  
  22. ' definition for file attributes
  23. Global Const A_NORMAL = &H0             'Normal file - No read/write restrictions
  24. Global Const A_RDONLY = &H1             'Read only file
  25. Global Const A_HIDDEN = &H2             'Hidden file
  26. Global Const A_SYSTEM = &H4             'System file
  27. Global Const A_VOLID = &H8              'Volume ID file
  28. Global Const A_SUBDIR = &H10            'Subdirectory
  29. Global Const A_ARCH = &H20              'Archive file
  30. Global Const A_NORMAL_ARCHIVE = &HFE    'Normal, Archive
  31. Global Const A_ALL = &HFF               'Normal, Archive, Read-Only, Hidden, System
  32.  
  33. ' definition for encrypt/decrypt
  34. Global Const ENCRYPT_LEVEL_0 = 0
  35. Global Const ENCRYPT_LEVEL_1 = 1
  36. Global Const ENCRYPT_LEVEL_2 = 2
  37. Global Const ENCRYPT_LEVEL_3 = 3
  38. Global Const ENCRYPT_LEVEL_4 = 4
  39.  
  40. Global Const CRYPTO_KEY_TOO_SMALL = -1
  41. Global Const CRYPTO_CANT_INIT_KEY = -2
  42. Global Const CRYPTO_CANT_INIT_BUFFER = -11
  43. Global Const CRYPTO_CANT_OPEN_FILEIN = -21
  44. Global Const CRYPTO_CANT_CREATE_FILEOUT = -22
  45. Global Const CRYPTO_ERROR_READING_FILEIN = -31
  46. Global Const CRYPTO_ERROR1_WRITING_FILEOUT = -41
  47. Global Const CRYPTO_ERROR2_WRITING_FILEOUT = -42
  48. Global Const CRYPTO_ERROR1_WRITING_LASTBYTE = -51
  49. Global Const CRYPTO_ERROR2_WRITING_LASTBYTE = -52
  50. Global Const CRYPTO_BAD_LASTBYTE = -61
  51.  
  52. Global Const RUBY_MODE_MINIMUM = 1           ' speed is of the essence, security secondary.
  53. Global Const RUBY_MODE_DESK_LOCK = 2         ' reasonable compromise of speed vs security.
  54. Global Const RUBY_MODE_DEAD_BOLT = 4         ' default = probably good enough for most things.
  55. Global Const RUBY_MODE_PORTABLE_SAFE = 5     ' security is more important than speed.
  56. Global Const RUBY_MODE_ANCHORED_SAFE = 8     ' speed isn't much of a concern.
  57. Global Const RUBY_MODE_BANK_VAULT = 10       ' your pentium has nothing better to do, anyway.
  58. Global Const RUBY_MODE_FORT_KNOX = 16        ' be cool.
  59.  
  60. ' definition for FILECRC32
  61. Global Const OPEN_MODE_BINARY = 0
  62. Global Const OPEN_MODE_TEXT = 1
  63.  
  64. ' definition for FILEUUCP
  65. Global Const MODE_UUENCODE = 0
  66. Global Const MODE_UUDECODE = 1
  67.  
  68. ' definition for ARRAYONDISK
  69. Global Const PUT_ARRAY_ON_DISK = 0
  70. Global Const GET_ARRAY_ON_DISK = 1
  71.  
  72. ' definition for big numbers
  73. Global Const BIG_ADD = 0
  74. Global Const BIG_SUB = 1
  75. Global Const BIG_MUL = 2
  76.  
  77. ' definition for file version information
  78. Global Const VER_VERSION_PRODUCT = -1
  79. Global Const VER_VERSION_FILE = 0
  80. Global Const VER_COMPANY_NAME = 1
  81. Global Const VER_FILE_DESCRIPTION = 2
  82. Global Const VER_FILE_VERSION = 3
  83. Global Const VER_INTERNAL_NAME = 4
  84. Global Const VER_LEGAL_COPYRIGHT = 5
  85. Global Const VER_LEGAL_TRADEMARKS = 6
  86. Global Const VER_PRODUCT_NAME = 7
  87. Global Const VER_PRODUCT_VERSION = 8
  88.  
  89. ' definition for language in multi-language management
  90. Global Const LNG_FRENCH = 1
  91. Global Const LNG_DUTCH = 2
  92. Global Const LNG_GERMAN = 3
  93. Global Const LNG_ENGLISH = 4
  94. Global Const LNG_ITALIAN = 5
  95. Global Const LNG_SPANISH = 6
  96. Global Const LNG_CATALAN = 7
  97. Global Const LNG_POLISH = 8
  98. Global Const LNG_NORVEGIAN = 9
  99.  
  100. ' definition for message position in multi-language message box
  101. Global Const MB_MESSAGE_LEFT = 0
  102. Global Const MB_MESSAGE_CENTER = 8192
  103. Global Const MB_MESSAGE_RIGHT = 16384
  104.  
  105. ' definition for timeout management in multi-language message box
  106. Global Const MB_TIMEOUT_2 = 32768
  107. Global Const MB_TIMEOUT_4 = 2 * MB_TIMEOUT_2
  108. Global Const MB_TIMEOUT_8 = 2 * MB_TIMEOUT_4
  109. Global Const MB_TIMEOUT_16 = 2 * MB_TIMEOUT_8
  110.  
  111. Global Const MB_TIMEOUT_6 = MB_TIMEOUT_2 Or MB_TIMEOUT_4
  112. Global Const MB_TIMEOUT_10 = MB_TIMEOUT_2 Or MB_TIMEOUT_8
  113. Global Const MB_TIMEOUT_12 = MB_TIMEOUT_4 Or MB_TIMEOUT_8
  114. Global Const MB_TIMEOUT_14 = MB_TIMEOUT_2 Or MB_TIMEOUT_4 Or MB_TIMEOUT_8
  115. Global Const MB_TIMEOUT_18 = MB_TIMEOUT_2 Or MB_TIMEOUT_16
  116. Global Const MB_TIMEOUT_20 = MB_TIMEOUT_4 Or MB_TIMEOUT_16
  117. Global Const MB_TIMEOUT_22 = MB_TIMEOUT_2 Or MB_TIMEOUT_4 Or MB_TIMEOUT_16
  118. Global Const MB_TIMEOUT_24 = MB_TIMEOUT_8 Or MB_TIMEOUT_16
  119. Global Const MB_TIMEOUT_26 = MB_TIMEOUT_2 Or MB_TIMEOUT_8 Or MB_TIMEOUT_16
  120. Global Const MB_TIMEOUT_28 = MB_TIMEOUT_4 Or MB_TIMEOUT_8 Or MB_TIMEOUT_16
  121. Global Const MB_TIMEOUT_30 = MB_TIMEOUT_2 Or MB_TIMEOUT_4 Or MB_TIMEOUT_8 Or MB_TIMEOUT_16
  122.  
  123. Global Const MB_DISPLAY_TIMEOUT = 524288
  124.  
  125. ' definition for properties for language management
  126. Global Const RS_CAPTION = 1
  127. Global Const RS_TEXT = 2
  128. Global Const RS_DATAFIELD = 4
  129. Global Const RS_DATASOURCE = 8
  130. Global Const RS_TAG = 16
  131. Global Const RS_MENU = 32
  132. Global Const RS_ALL = 255
  133.  
  134. ' definition for error type for PATTERNMATCHEXT
  135. Global Const MATCH_HEXA = 17
  136. Global Const MATCH_INTERNAL_ERROR = 16
  137. Global Const MATCH_PATTERN = 15
  138. Global Const MATCH_LITERAL = 14
  139. Global Const MATCH_RANGE = 13
  140. Global Const MATCH_ABORT = 12
  141. Global Const MATCH_END = 11
  142. Global Const MATCH_VALID = -1
  143.  
  144. Global Const PATTERN_VALID = 0
  145. Global Const PATTERN_INVALID = 1
  146. Global Const PATTERN_ESC = 2
  147. Global Const PATTERN_RANGE = 3
  148. Global Const PATTERN_CLOSE = 4
  149. Global Const PATTERN_EMPTY = 5
  150. Global Const PATTERN_INTERNAL_ERROR = 6
  151. Global Const PATTERN_HEXA = 7
  152.  
  153. ' definition for error type for ISFILENAMEVALID
  154. Global Const IFV_ERROR = 0
  155. Global Const IFV_NAME_TOO_LONG = 1
  156. Global Const IFV_EXT_TOO_LONG = 2
  157. Global Const IFV_TOO_MANY_BACKSLASH = 3
  158. Global Const IFV_BAD_DRIVE_LETTER = 4
  159. Global Const IFV_BAD_COLON_POS = 5
  160. Global Const IFV_EXT_WITHOUT_NAME = 6
  161.  
  162. ' definition for variable type in DISK ARRAY
  163. Global Const DA_BYTE = 1
  164. Global Const DA_TYPE = 0
  165. Global Const DA_INTEGER = -2
  166. Global Const DA_LONG = -3
  167. Global Const DA_SINGLE = -4
  168. Global Const DA_DOUBLE = -5
  169. Global Const DA_CURRENCY = -6
  170.  
  171. ' definition for error type in DISK ARRAY
  172. Global Const DA_NO_ERROR = True
  173. Global Const DA_EMPTY_FILENAME = 1
  174. Global Const DA_BAD_FILENAME = 2
  175. Global Const DA_CAN_KILL_FILE = 3
  176. Global Const DA_CAN_NOT_OPEN_FILE = 4
  177. Global Const DA_FILE_NOT_FOUND = 5
  178. Global Const DA_BAD_TYPE = 6
  179. Global Const DA_BAD_ROWS = 7
  180. Global Const DA_BAD_COLS = 8
  181. Global Const DA_BAD_SHEETS = 9
  182. Global Const DA_CAN_NOT_WRITE_HEADER = 10
  183. Global Const DA_CAN_NOT_WRITE_PART = 11
  184. Global Const DA_CAN_NOT_WRITE_REMAIN = 12
  185. Global Const DA_CAN_NOT_READ_HEADER = 13
  186. Global Const DA_HEADER_SIZE = 14
  187. Global Const DA_BAD_SIGNATURE = 15
  188. Global Const DA_FILE_SIZE_MISMATCH = 16
  189. Global Const DA_CAN_NOT_SEEK = 17
  190. Global Const DA_INVALID_HANDLE = 18
  191. Global Const DA_CAN_NOT_READ_PART = 19
  192. Global Const DA_CAN_NOT_READ_REMAIN = 20
  193.  
  194. ' definition for error type in HUGE MEMORY ARRAY
  195. Global Const HMA_NO_ERROR = True
  196. Global Const HMA_NO_MEMORY = 1
  197. Global Const HMA_BAD_TYPE = 2
  198. Global Const HMA_BAD_ROWS = 3
  199. Global Const HMA_BAD_COLS = 4
  200. Global Const HMA_BAD_SHEETS = 5
  201. Global Const HMA_INVALID_HANDLE = 6
  202.  
  203. ' definition for error type in SERIAL DATA
  204. Global Const SD_SERIAL_NOT_FOUND = 1
  205. Global Const SD_CAN_NOT_OPEN_FILE = 2
  206.  
  207. ' definition for File I/O
  208. Global Const EOFILE = -1
  209. Global Const SEEK_CUR = 1
  210. Global Const SEEK_END = 2
  211. Global Const SEEK_SET = 0
  212.  
  213. ' definition for file sort
  214. Global Const SORT_ASCENDING = 1
  215. Global Const SORT_DESCENDING = 2
  216. Global Const SORT_CASE_SENSITIVE = 4
  217. Global Const SORT_CASE_INSENSITIVE = 8
  218.  
  219. ' definition for compress/expand
  220. Global Const LZH_ENCODE = True
  221. Global Const LZH_DECODE = False
  222.  
  223. ' definition for PROPERNAME2
  224. Global Const PN_UPPERCASE = 1
  225. Global Const PN_PUNCTUATION = 2
  226. Global Const PN_KEEP_ORIGINAL = 4
  227. Global Const PN_ONLY_LEADER_SPACE = 8
  228.  
  229. ' definition for matrix fill
  230. Global Const MATRIX_ZERO = 0
  231. Global Const MATRIX_UNIT = 1
  232.  
  233. ' definition for FX picture
  234. Global Const FX_HORIZONTAL = 1
  235. Global Const FX_VERTICAL = 2
  236. Global Const FX_DIAGONAL_SQUARE = 3
  237. Global Const FX_RECTANGLE = 4
  238.  
  239. ' definition for error type for SplitFile
  240. Global Const SPLIT_BAD_PARTSIZE = -1
  241. Global Const SPLIT_BAD_SOURCE_FILENAME = -2
  242. Global Const SPLIT_BAD_TARGET_FILENAME = -3
  243. Global Const SPLIT_CANT_OPEN_SOURCE = -4
  244. Global Const SPLIT_CANT_CREATE_TARGET = -5
  245.  
  246. ' definition for error type for CutFile
  247. Global Const CUT_BAD_POSITION = -1
  248. Global Const CUT_BAD_SOURCE_FILENAME = -2
  249. Global Const CUT_BAD_TARGET1_FILENAME = -3
  250. Global Const CUT_BAD_TARGET2_FILENAME = -4
  251. Global Const CUT_POSITION_TOO_BIG = -5
  252. Global Const CUT_CANT_OPEN_SOURCE = -6
  253. Global Const CUT_CANT_CREATE_TARGET1 = -7
  254. Global Const CUT_CANT_CREATE_TARGET2 = -8
  255.  
  256. ' definition for error type for FileMergeExt
  257. Global Const FILE_MERGE_NO_ERROR = -1
  258. Global Const FILE_MERGE_EMPTY_TARGET_FILENAME = -2
  259. Global Const FILE_MERGE_EMPTY_BAD_TARGET_FILENAME = -3
  260. Global Const FILE_MERGE_CANT_SET_FILE_BUFFER = -4
  261. Global Const FILE_MERGE_CANT_CREATE_TARGET_FILE = -5
  262. Global Const FILE_MERGE_ERROR_READING_FILE = -6
  263. Global Const FILE_MERGE_ERROR_WRITING_FILE = -7
  264. Global Const FILE_MERGE_ERROR_BAD_WRITE = -8
  265. Global Const FILE_MERGE_BAD_FILE_AT_POSITION = -10
  266.  
  267. ' structure for splittin path
  268. Type tagSPLITPATH
  269.    nDrive            As String
  270.    nDir              As String
  271.    nName             As String
  272.    nExt              As String
  273. End Type
  274.  
  275. ' structure for file version information
  276. Type tagFILEVERSIONINFO
  277.    VersionProduct    As String
  278.    VersionFile       As String
  279.    CompanyName       As String
  280.    FileDescription   As String
  281.    FileVersion       As String
  282.    InternalName      As String
  283.    LegalCopyright    As String
  284.    LegalTrademarks   As String
  285.    Comments          As String
  286.    ProductName       As String
  287.    ProductVersion    As String
  288. End Type
  289.  
  290. ' structure for file attributes
  291. Type FileAttributeType
  292.    ErrNo             As Integer
  293.    Archive           As Integer
  294.    Hidden            As Integer
  295.    Normal            As Integer
  296.    ReadOnly          As Integer
  297.    SubDir            As Integer
  298.    System            As Integer
  299.    VolId             As Integer
  300. End Type
  301.  
  302. ' structure for VB array
  303. Type ArrayType
  304.    Bounds            As Long
  305.    LBound            As Integer
  306.    UBound            As Integer
  307.    ElemSize          As Integer
  308.    IndexCount        As Integer
  309.    TotalElem         As Integer
  310. End Type
  311.  
  312. ' structure for modules
  313. Type tagMODULEENTRY
  314.    dwSize            As Long
  315.    szModule          As String * 10
  316.    hModule           As Integer
  317.    wcUsage           As Integer
  318.    szExePath         As String * 256
  319.    wNext             As Integer
  320. End Type
  321.  
  322. ' structure for tasks
  323. Type tagTASKENTRY
  324.    dwSize            As Long
  325.    hTask             As Integer
  326.    hTaskParent       As Integer
  327.    hInst             As Integer
  328.    hModule           As Integer
  329.    wSS               As Integer
  330.    wSP               As Integer
  331.    wStackTop         As Integer
  332.    wStackMinimum     As Integer
  333.    wStackBottom      As Integer
  334.    wcEvents          As Integer
  335.    hQueue            As Integer
  336.    szModule          As String * 10
  337.    wPSPOffset        As Integer
  338.    hNext             As Integer
  339. End Type
  340.  
  341. ' structure for disk array
  342. Type tagDISKARRAY
  343.    daSize            As Integer           'size of the type'd
  344.    signature         As String * 7        'signature
  345.    nFilename         As String * 64       'name of the file
  346.    nType             As Integer           'variable type
  347.    nRows             As Long              'number of rows
  348.    nCols             As Long              'number of cols
  349.    nSheets           As Long              'number of sheets
  350.    rHandle           As Integer           'returned handle for use with other functions
  351.    rElementSize      As Integer           'returned size of a element
  352.    rFileSize         As Long              'returned size of the file
  353.    rParts            As Long              'returned total part
  354.    rRemain           As Long              'returned size of the remain part
  355.    rSheetSize        As Long              'size of a sheet
  356.    rOffset1          As Long              'returned offset 1
  357.    rOffset2          As Long              'returned offset 2
  358.    rTime             As Long              'time for the last correct transaction
  359.    nIsTyped          As Integer           'is nType a type'd variable
  360.    Dummy             As String * 7        'reserved for future use
  361. End Type
  362.  
  363. ' structure for multiple disk array
  364. Type tagMULTIPLEDISKARRAY
  365.    daSize               As Integer        'size of the structure
  366.    signature            As String * 7     'signature
  367.    nFilename            As String * 64    'name of the file
  368.    nType(1 To 20)       As Integer        'standard variable type (for 20 arrays)
  369.    nIsTyped(1 To 20)    As Integer        'is a type'd (for 20 arrays)
  370.    nRows(1 To 20)       As Long           'number of rows (for 20 arrays)
  371.    nCols(1 To 20)       As Long           'number of cols (for 20 arrays)
  372.    nSheets(1 To 20)     As Long           'number of sheets (for 20 arrays)
  373.    rHandle              As Integer        'returned handle for use with other functions
  374.    rFileSize            As Long           'returned size of the file
  375.    rElementSz(1 To 20)  As Integer        'returned size of a element (for 20 arrays)
  376.    rSheetSz(1 To 20)    As Long           'size of a sheet (for 20 arrays)
  377.    rOffsetPos(1 To 20)  As Long           'position of each array in the file (for 20 arrays)
  378.    rOffset1             As Long           'returned offset 1
  379.    rOffset2             As Long           'returned offset 2
  380.    rTime                As Long           'time for the last correct transaction
  381.    Dummy                As String * 29    'reserved for future use
  382. End Type
  383.  
  384. ' structure for huge memory array
  385. Type tagHMA
  386.    daSize            As Integer           'size of the type'd
  387.    nType             As Integer           'variable type
  388.    nRows             As Long              'number of rows
  389.    nCols             As Long              'number of cols
  390.    nSheets           As Long              'number of sheets
  391.    rHandle           As Integer           'returned handle for use with other functions
  392.    rElementSize      As Long              'returned size of a element
  393.    rMemorySize       As Long              'returned size of the memory used
  394.    rParts            As Long              'returned total part
  395.    rRemain           As Long              'returned size of the remain part
  396.    rSheetSize        As Long              'size of a sheet
  397.    rOffset           As Long              'returned offset
  398.    nIsTyped          As Integer           'is nType a type'd variable
  399.    Dummy             As String * 20       'reserved for future use
  400. End Type
  401.  
  402. ' structure for serialization
  403. Type tagSERIALDATA
  404.    Description1      As String * 50       'serialization description 1
  405.    Description2      As String * 50       'serialization description 2
  406.    Number            As Long              'serialization number
  407.    Dummy             As String * 50       'reserved for future use
  408. End Type
  409.  
  410. ' structure for ARRAYSTRINGONDISK and FILESINDIRTOARRAY
  411. Type tagVARSTRING
  412.    Contents          As String
  413. End Type
  414.  
  415. ' structure for 2-D geometry types
  416. Type tagVECTOR2
  417.    x                 As Double
  418.    y                 As Double
  419. End Type
  420.  
  421. ' structure for 3-D geometry types
  422. Type tagVECTOR3
  423.    x                 As Double
  424.    y                 As Double
  425.    z                 As Double
  426. End Type
  427.  
  428. ' structure for get/set Media ID
  429. Type tagMEDIAID
  430.    InfoLevel         As Integer
  431.    SerialNumber      As Long
  432.    VolLabel          As String * 11
  433.    FileSysType       As String * 8
  434. End Type
  435.  
  436. ' structure for Get Control Rectangle
  437. Type tagRECT
  438.    Left              As Integer
  439.    Top               As Integer
  440.    Right             As Integer
  441.    Bottom            As Integer
  442. End Type
  443.  
  444. ' structure for 3D-Meter
  445. Type tag3DMeter
  446.    CrtValue          As Long              'current value
  447.    MaxValue          As Long              'maximum value
  448.    BackColor         As Long
  449.    ForeColor         As Long
  450.    Polygon           As Integer           '0  : rectangle, 1 : triangle, 2 : trapezium, 3 : ellipse , 4 : bars
  451.    BarSize           As Integer           'size of a bar (polygon = 4) (in pixel : min=1,max=20,default=10)
  452.    SpaceBars         As Integer           'space between bars (polygon = 4) (in pixel : min=1,max=4,default=2)
  453.    Direction         As Integer           '0  : horizontal, other : vertical
  454.    ThreeD            As Integer           '-1 : indented, 1 : raised
  455.    Thickness         As Integer
  456.    Percent           As Integer           'internal use, do not change
  457.    OldPolygon        As Integer           'internal use, do not change
  458.    OldDirection      As Integer           'internal use, do not change
  459.    OldThreeD         As Integer           'internal use, do not change
  460.    HatchBrush        As Integer           '-1 : solid brush, 0 : hor., 1 : ver., 2 : downward diag., 3 : upward diag., 4 : cross, 5 : diag.cross
  461. End Type
  462.  
  463. ' structure for File Information
  464. Type tagFILEINFO
  465.    fSize             As Long              'size of the file
  466.    fDate             As Long              'date of the file (scalar date)
  467.    fTime             As Long              'time of the file (scalar time)
  468.    fAttribute        As Integer           'attribute of the file
  469. End Type
  470.  
  471. Rem Don't Remove It
  472. Declare Sub c3D Lib "time2win.dll" (Ctl As Control, ByVal Method As Integer, ByVal Thickness As Integer)
  473. Declare Sub c3DMeter Lib "time2win.dll" (hCtl As Control, Meter As tag3DMeter)
  474. Declare Function cAddD Lib "time2win.dll" (array() As Double, ByVal nValue As Double) As Integer
  475. Declare Function cAddDigit Lib "time2win.dll" (Txt As String) As Integer
  476. Declare Function cAddI Lib "time2win.dll" (array() As Integer, ByVal nValue As Integer) As Integer
  477. Declare Function cAddL Lib "time2win.dll" (array() As Long, ByVal nValue As Long) As Integer
  478. Declare Function cAddS Lib "time2win.dll" (array() As Single, ByVal nValue As Single) As Integer
  479. Declare Function cAddTime Lib "time2win.dll" (ByVal Hr As Integer) As Integer
  480. Declare Function cAddTwoTimes Lib "time2win.dll" (ByVal Time1 As String, ByVal Time2 As String) As String
  481. Declare Function cAlign Lib "time2win.dll" (Txt As String, ByVal TypeAlign As Integer, ByVal NewLength As Integer) As String
  482. Declare Function cAllSubDirectories Lib "time2win.dll" (ByVal lpBaseDirectory As String, nDir As Integer) As String
  483. Declare Function cAndToken Lib "time2win.dll" (ByVal Txt As String, ByVal Token As String) As Integer
  484. Declare Function cAndTokenIn Lib "time2win.dll" (ByVal Txt As String, ByVal Token As String, ByVal Separator As String) As Integer
  485. Declare Function cArabicToRoman Lib "time2win.dll" (Var As Variant) As String
  486. Declare Sub cArrangeDesktopIcons Lib "time2win.dll" ()
  487. Declare Function cArrayOnDisk Lib "time2win.dll" (ByVal FILE As String, array() As Any, ByVal GetPut As Integer) As Long
  488. Declare Function cArrayPrm Lib "time2win.dll" (array() As Any, nArray As Any) As Integer
  489. Declare Function cArrayStringOnDisk Lib "time2win.dll" (ByVal FILE As String, array() As Any, ByVal GetPut As Integer, rRecords As Long) As Long
  490. Declare Function cArrayToComboBox Lib "time2win.dll" (ByVal hWnd As Integer, array() As Any) As Integer
  491. Declare Function cArrayToListBox Lib "time2win.dll" (ByVal hWnd As Integer, array() As Any) As Integer
  492. Declare Function cB2I Lib "time2win.dll" (ByVal Txt As String) As Integer
  493. Declare Function cB2L Lib "time2win.dll" (ByVal Txt As String) As Long
  494. Declare Function cBaseConversion Lib "time2win.dll" (ByVal Num As String, ByVal RadixIn As Integer, ByVal RadixOut As Integer) As String
  495. Declare Function cBetween Lib "time2win.dll" (Var As Variant, Var1 As Variant, Var2 As Variant) As Integer
  496. Declare Function cBigAdd Lib "time2win.dll" (Num1 As String, Num2 As String) As String
  497. Declare Function cBigDiv Lib "time2win.dll" (Num1 As String, Num2 As String) As String
  498. Declare Function cBigMul Lib "time2win.dll" (Num1 As String, Num2 As String) As String
  499. Declare Function cBigNum Lib "time2win.dll" (ByVal n1 As String, ByVal op As Integer, ByVal n2 As String) As String
  500. Declare Function cBigSub Lib "time2win.dll" (Num1 As String, Num2 As String) As String
  501. Declare Function cBigFmt Lib "time2win.dll" (Num As String, ByVal Length As Integer) As String
  502. Declare Function cBlockCharFromLeft Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As String
  503. Declare Function cBlockCharFromRight Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As String
  504. Declare Sub cCenterWindow Lib "time2win.dll" (ByVal hWnd As Integer)
  505. Declare Sub cChangeChars Lib "time2win.dll" (Txt As String, CharSet As String, NewCharSet As String)
  506. Declare Sub cChangeCharsUntil Lib "time2win.dll" (Txt As String, CharSet As String, NewCharSet As String, nUntil As String)
  507. Declare Sub cChangeTaskName Lib "time2win.dll" (ByVal hWnd As Integer, ByVal Text As String)
  508. Declare Function cChDir Lib "time2win.dll" (ByVal lpDir As String) As Integer
  509. Declare Function cChDrive Lib "time2win.dll" (ByVal lpDrive As String) As Integer
  510. Declare Function cCheckChars Lib "time2win.dll" (Txt As String, CharSet As String) As Integer
  511. Declare Function cCheckMinuteChange Lib "time2win.dll" () As Integer
  512. Declare Function cCheckNumericity Lib "time2win.dll" (Txt As String) As Integer
  513. Declare Function cCheckSecondChange Lib "time2win.dll" () As Integer
  514. Declare Function cCheckStatus Lib "time2win.dll" (Ctl As Control) As Integer
  515. Declare Function cCheckTime Lib "time2win.dll" (ByVal Hr As Integer, ByVal Hr1 As Integer, ByVal Hr2 As Integer) As Integer
  516. Declare Function cCheckWait Lib "time2win.dll" (ByVal nTimer As Integer) As Integer
  517. Declare Function cCloseAllEditForm Lib "time2win.dll" () As Integer
  518. Declare Function cHashMD5 Lib "time2win.dll" (Text As String) As String
  519. Declare Function cCmpFileAttribute Lib "time2win.dll" (ByVal File1 As String, ByVal File2 As String) As Integer
  520. Declare Function cCmpFileContents Lib "time2win.dll" (ByVal File1 As String, ByVal File2 As String, ByVal Sensitivity As Integer) As Integer
  521. Declare Function cCmpFileSize Lib "time2win.dll" (ByVal File1 As String, ByVal File2 As String) As Integer
  522. Declare Function cCmpFileTime Lib "time2win.dll" (ByVal File1 As String, ByVal File2 As String) As Integer
  523. Declare Sub cCnvASCIItoEBCDIC Lib "time2win.dll" (Txt As String)
  524. Declare Sub cCnvEBCDICtoASCII Lib "time2win.dll" (Txt As String)
  525. Declare Function cCombination Lib "time2win.dll" (ByVal nItems As Integer, ByVal mTimes As Integer) As Double
  526. Declare Function cCompact Lib "time2win.dll" (Txt As String) As String
  527. Declare Function cCompareTypeString Lib "time2win.dll" Alias "cTypesCompare" (TypeSrc As Any, ByVal Dst As String, ByVal lenTypeSrc As Integer) As Integer
  528. Declare Function cCompareStringType Lib "time2win.dll" Alias "cTypesCompare" (ByVal Src As String, TypeDst As Any, ByVal lenTypeSrc As Integer) As Integer
  529. Declare Function cCompress Lib "time2win.dll" (Txt As String) As String
  530. Declare Function cCompressTab Lib "time2win.dll" (Txt As String, ByVal nTab As Integer) As String
  531. Declare Sub cCtl3D Lib "time2win.dll" (Ctl As Control, ByVal LeftTopColor As Long, ByVal RightBottomColor As Long, ByVal Thickness As Integer)
  532. Declare Function cConvert Lib "time2win.dll" (Value As String, ByVal MaskFrom As String, ByVal MaskTo As String, ByVal Size As Integer) As String
  533. Declare Function cCount Lib "time2win.dll" (Txt As String, Separator As String) As Integer
  534. Declare Function cCountDirectories Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  535. Declare Function cCountFiles Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  536. Declare Function cCountI Lib "time2win.dll" (array() As Integer, ByVal Value As Integer) As Long
  537. Declare Function cCountL Lib "time2win.dll" (array() As Long, ByVal Value As Long) As Long
  538. Declare Function cCountS Lib "time2win.dll" (array() As Single, ByVal Value As Single) As Long
  539. Declare Function cCountD Lib "time2win.dll" (array() As Double, ByVal Value As Double) As Long
  540. Declare Function cCplAlpha Lib "time2win.dll" (Txt As String) As String
  541. Declare Function cCplDigit Lib "time2win.dll" (Txt As String) As String
  542. Declare Function cCreateAndFill Lib "time2win.dll" (ByVal Length As Integer, Txt As String) As String
  543. Declare Function cCreateBits Lib "time2win.dll" (ByVal nBits As Integer) As String
  544. Declare Function cCurrentTime Lib "time2win.dll" () As Integer
  545. Declare Function cCutFile Lib "time2win.dll" (ByVal SourceFile As String, ByVal TargetFile1 As String, ByVal TargetFile2 As String, ByVal CutPosition As Long) As Long
  546. Declare Function cCVB Lib "time2win.dll" (Value As String) As Integer
  547. Declare Function cCVC Lib "time2win.dll" (Value As String) As Currency
  548. Declare Function cCVD Lib "time2win.dll" (Value As String) As Double
  549. Declare Function cCVI Lib "time2win.dll" (Value As String) As Integer
  550. Declare Function cCVL Lib "time2win.dll" (Value As String) As Long
  551. Declare Function cCVS Lib "time2win.dll" (Value As String) As Single
  552. Declare Function cDAClear Lib "time2win.dll" (DISKARRAY As tagDISKARRAY) As Integer
  553. Declare Function cDAClearCol Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Col As Long, ByVal sheet As Long) As Integer
  554. Declare Function cDAClearRow Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal sheet As Long) As Integer
  555. Declare Function cDAClearSheet Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal sheet As Long) As Integer
  556. Declare Sub cDAClose Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal DeleteFile As Integer)
  557. Declare Function cDACreate Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal CreateOrUse As Integer) As Integer
  558. Declare Function cDAGet Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long) As Variant
  559. Declare Sub cDAGetType Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long, nType As Any)
  560. Declare Sub cDAPut Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long, Var As Variant)
  561. Declare Sub cDAPutType Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long, nType As Any)
  562. Declare Sub cDArGet Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Col As Long, Var As Variant)
  563. Declare Sub cDArGetType Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Col As Long, nType As Any)
  564. Declare Sub cDArPut Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Col As Long, Var As Variant)
  565. Declare Sub cDArPutType Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Col As Long, nType As Any)
  566. Declare Function cDAsClearCol Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Col As Long) As Integer
  567. Declare Function cDAsClearRow Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long) As Integer
  568. Declare Sub cDAsGet Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal Col As Long, Var As Variant)
  569. Declare Sub cDAsGetType Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal Col As Long, nType As Any)
  570. Declare Sub cDAsPut Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal Col As Long, Var As Variant)
  571. Declare Sub cDAsPutType Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal Col As Long, nType As Any)
  572. Declare Function cDateToScalar Lib "time2win.dll" (ByVal nYear As Integer, ByVal nMonth As Integer, ByVal nDay As Integer) As Long
  573. Declare Function cDayOfWeek Lib "time2win.dll" (ByVal nYear As Integer, ByVal nMonth As Integer, ByVal nDay As Integer, ByVal nISO As Integer) As Integer
  574. Declare Function cDayOfYear Lib "time2win.dll" (ByVal nYear As Integer, ByVal nMonth As Integer, ByVal nDay As Integer) As Integer
  575. Declare Function cDaysInMonth Lib "time2win.dll" (ByVal nYear As Integer, ByVal nMonth As Integer) As Integer
  576. Declare Sub cDecrI Lib "time2win.dll" (Value As Integer)
  577. Declare Sub cDecrL Lib "time2win.dll" (Value As Long)
  578. Declare Function cDecrypt Lib "time2win.dll" (Txt As String, Password As String, ByVal level As Integer) As String
  579. Declare Function cDeviationD Lib "time2win.dll" (array() As Double) As Double
  580. Declare Function cDeviationI Lib "time2win.dll" (array() As Integer) As Double
  581. Declare Function cDeviationL Lib "time2win.dll" (array() As Long) As Double
  582. Declare Function cDeviationS Lib "time2win.dll" (array() As Single) As Double
  583. Declare Sub cDisableCtlRedraw Lib "time2win.dll" (Ctl As Control)
  584. Declare Sub cDisableFI Lib "time2win.dll" (Ctl As Control)
  585. Declare Sub cDisableForm Lib "time2win.dll" (ByVal hWnd As Integer)
  586. Declare Sub cDisableRedraw Lib "time2win.dll" (ByVal hWnd As Integer)
  587. Declare Function cDOSGetMediaID Lib "time2win.dll" (ByVal nDrive As String, MEDIAID As tagMEDIAID) As Integer
  588. Declare Function cDOSGetVolumeLabel Lib "time2win.dll" (ByVal nDrive As String) As String
  589. Declare Function cDOSSetMediaID Lib "time2win.dll" (ByVal nDrive As String, MEDIAID As tagMEDIAID) As Integer
  590. Declare Function cDOSSetVolumeLabel Lib "time2win.dll" (ByVal nDrive As String, ByVal nVolumeLabel As String) As Integer
  591. Declare Sub cEnableCtlRedraw Lib "time2win.dll" (Ctl As Control)
  592. Declare Sub cEnableFI Lib "time2win.dll" (Ctl As Control)
  593. Declare Sub cEnableForm Lib "time2win.dll" (ByVal hWnd As Integer)
  594. Declare Sub cEnableRedraw Lib "time2win.dll" (ByVal hWnd As Integer)
  595. Declare Function cEncrypt Lib "time2win.dll" (Txt As String, Password As String, ByVal level As Integer) As String
  596. Declare Function cEXEnameActiveWindow Lib "time2win.dll" () As String
  597. Declare Function cEXEnameWindow Lib "time2win.dll" (ByVal hModule As Integer) As String
  598. Declare Function cEXEnameTask Lib "time2win.dll" (ByVal nFilename As String) As String
  599. Declare Function cExitWindowsAndExecute Lib "time2win.dll" (ByVal lpszExe As String, ByVal lpszParams As String) As Integer
  600. Declare Function cExpandTab Lib "time2win.dll" (Txt As String, ByVal nTab As Integer) As String
  601. Declare Function cFileChangeChars Lib "time2win.dll" (ByVal nFilename As String, CharSet As String, NewCharSet As String, ByVal nFileTemp As String) As Long
  602. Declare Function cFileCompress Lib "time2win.dll" (ByVal File1 As String, ByVal File2 As String) As Long
  603. Declare Function cFileCompressTab Lib "time2win.dll" (ByVal File1 As String, ByVal File2 As String, ByVal nTab As Integer) As Long
  604. Declare Function cFileCopy Lib "time2win.dll" (ByVal File1 As String, ByVal File2 As String) As Long
  605. Declare Function cFileCRC32 Lib "time2win.dll" (ByVal lpFilename As String, ByVal Mode As Integer) As Long
  606. Declare Function cFileDateCreated Lib "time2win.dll" (ByVal lpFilename As String) As String
  607. Declare Function cFileDecrypt Lib "time2win.dll" (ByVal File1 As String, ByVal File2 As String, Password As String, ByVal level As Integer) As Long
  608. Declare Function cFileDrive Lib "time2win.dll" (ByVal lpFilename As String) As String
  609. Declare Function cFileEncrypt Lib "time2win.dll" (ByVal File1 As String, ByVal File2 As String, Password As String, ByVal level As Integer) As Long
  610. Declare Function cFileExpand Lib "time2win.dll" (ByVal File1 As String, ByVal File2 As String) As Long
  611. Declare Function cFileExpandTab Lib "time2win.dll" (ByVal File1 As String, ByVal File2 As String, ByVal nTab As Integer) As Long
  612. Declare Function cFileFilter Lib "time2win.dll" (ByVal File1 As String, ByVal File2 As String, Filter As String) As Long
  613. Declare Function cFileFilterNot Lib "time2win.dll" (ByVal File1 As String, ByVal File2 As String, Filter As String) As Long
  614. Declare Function cFileGetAttrib Lib "time2win.dll" (ByVal nFilename As String, nFileAttribute As Any) As Integer
  615. Declare Function cFileLastDateAccess Lib "time2win.dll" (ByVal lpFilename As String) As String
  616. Declare Function cFileLastDateModified Lib "time2win.dll" (ByVal lpFilename As String) As String
  617. Declare Function cFileLastTimeAccess Lib "time2win.dll" (ByVal lpFilename As String) As String
  618. Declare Function cFileLastTimeModified Lib "time2win.dll" (ByVal lpFilename As String) As String
  619. Declare Function cFileLineCount Lib "time2win.dll" (ByVal lpFilename As String) As Long
  620. Declare Function cFileMerge Lib "time2win.dll" (ByVal File1 As String, ByVal File2 As String, ByVal fileTo As String) As Long
  621. Declare Function cFileMergeExt Lib "time2win.dll" (array() As Any, ByVal TargetFile As String) As Long
  622. Declare Function cFilePathExists Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  623. Declare Function cFileResetAllAttrib Lib "time2win.dll" (ByVal nFilename As String) As Integer
  624. Declare Function cFileResetArchive Lib "time2win.dll" (ByVal nFilename As String) As Integer
  625. Declare Function cFileResetFlag Lib "time2win.dll" (ByVal nFilename As String, ByVal nStatus As Integer) As Integer
  626. Declare Function cFileResetHidden Lib "time2win.dll" (ByVal nFilename As String) As Integer
  627. Declare Function cFileResetReadOnly Lib "time2win.dll" (ByVal nFilename As String) As Integer
  628. Declare Function cFileResetSystem Lib "time2win.dll" (ByVal nFilename As String) As Integer
  629. Declare Function cFileSearch Lib "time2win.dll" (ByVal nFilename As String, ByVal Search As String, ByVal Sensitivity As Integer) As Long
  630. Declare Function cFileSearchAndReplace Lib "time2win.dll" (ByVal nFilename As String, ByVal Search As String, ByVal Replace As String, ByVal nFileTemp As String, ByVal Sensitivity As Integer) As Long
  631. Declare Function cFileSearchCount Lib "time2win.dll" (ByVal nFilename As String, ByVal Search As String, ByVal Sensitivity As Integer) As Long
  632. Declare Function cFileSetAllAttrib Lib "time2win.dll" (ByVal nFilename As String) As Integer
  633. Declare Function cFileSetArchive Lib "time2win.dll" (ByVal nFilename As String) As Integer
  634. Declare Function cFileSetAttrib Lib "time2win.dll" (ByVal nFilename As String, nFileAttribute As Any) As Integer
  635. Declare Function cFileSetFlag Lib "time2win.dll" (ByVal nFilename As String, ByVal nStatus As Integer) As Integer
  636. Declare Function cFileSetHidden Lib "time2win.dll" (ByVal nFilename As String) As Integer
  637. Declare Function cFileSetReadOnly Lib "time2win.dll" (ByVal nFilename As String) As Integer
  638. Declare Function cFileSetSystem Lib "time2win.dll" (ByVal nFilename As String) As Integer
  639. Declare Function cFilesInDirectory Lib "time2win.dll" (ByVal nFilename As String, ByVal FirstNext As Integer) As String
  640. Declare Function cFilesInDirOnDisk Lib "time2win.dll" (ByVal nFile As String, ByVal nFilename As String, ByVal nAttribute As Integer) As Integer
  641. Declare Function cFilesInDirToArray Lib "time2win.dll" (ByVal nFilename As String, ByVal nAttribute As Integer, array() As Any) As Integer
  642. Declare Function cFilesInfoInDir Lib "time2win.dll" (ByVal nFilename As String, FILEINFO As tagFILEINFO, ByVal FirstNext As Integer) As String
  643. Declare Function cFileSize Lib "time2win.dll" (ByVal lpFilename As String) As Long
  644. Declare Function cFileSort Lib "time2win.dll" (ByVal FileIn As String, ByVal FileOut As String, ByVal SortMethod As Integer, ByVal RecordLength As Long, ByVal KeyOffset As Long, ByVal KeyLength As Long, rRecords As Integer) As Long
  645. Declare Function cFilesSize Lib "time2win.dll" (ByVal nFilename As String) As Double
  646. Declare Function cFilesSizeOnDisk Lib "time2win.dll" (ByVal nFilename As String) As Double
  647. Declare Function cFilesSlack Lib "time2win.dll" (ByVal nFilename As String, Size1 As Double, Size2 As Double) As Integer
  648. Declare Function cFileStatistics Lib "time2win.dll" (ByVal nFilename As String, nLines As Long, nWords As Long, nChars As Long) As Long
  649. Declare Function cFileTimeCreated Lib "time2win.dll" (ByVal lpFilename As String) As String
  650. Declare Function cFileToComboBox Lib "time2win.dll" (ByVal hWnd As Integer, ByVal nFile As String) As Integer
  651. Declare Function cFileToListBox Lib "time2win.dll" (ByVal hWnd As Integer, ByVal nFile As String) As Integer
  652. Declare Function cFileToUpper Lib "time2win.dll" (ByVal File1 As String, ByVal File2 As String) As Long
  653. Declare Function cFileToLower Lib "time2win.dll" (ByVal File1 As String, ByVal File2 As String) As Long
  654. Declare Function cFileUUCP Lib "time2win.dll" (ByVal FileNameIn As String, ByVal FileNameOut As String, ByVal Mode As Integer) As Long
  655. Declare Sub cFill Lib "time2win.dll" (Txt As String, Fill As String)
  656. Declare Function cFillD Lib "time2win.dll" (array() As Double, ByVal nValue As Double) As Integer
  657. Declare Function cFillI Lib "time2win.dll" (array() As Integer, ByVal nValue As Integer) As Integer
  658. Declare Function cFillL Lib "time2win.dll" (array() As Long, ByVal nValue As Long) As Integer
  659. Declare Function cFillS Lib "time2win.dll" (array() As Single, ByVal nValue As Single) As Integer
  660. Declare Function cFillIncrD Lib "time2win.dll" (array() As Double, ByVal nValue As Double, ByVal Increment As Double) As Integer
  661. Declare Function cFillIncrI Lib "time2win.dll" (array() As Integer, ByVal nValue As Integer, ByVal Increment As Integer) As Integer
  662. Declare Function cFillIncrL Lib "time2win.dll" (array() As Long, ByVal nValue As Long, ByVal Increment As Long) As Integer
  663. Declare Function cFillIncrS Lib "time2win.dll" (array() As Single, ByVal nValue As Single, ByVal Increment As Single) As Integer
  664. Declare Function cFilterBlocks Lib "time2win.dll" (Txt As String, Delimitor As String) As String
  665. Declare Function cFilterChars Lib "time2win.dll" (Txt As String, CharSet As String) As String
  666. Declare Function cFilterFirstChars Lib "time2win.dll" (Txt As String, CharSet As String) As String
  667. Declare Function cFilterNotChars Lib "time2win.dll" (Txt As String, CharSet As String) As String
  668. Declare Function cFindBitReset Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As Integer
  669. Declare Function cFindBitSet Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As Integer
  670. Declare Function cFindFileInEnv Lib "time2win.dll" (ByVal lpFilename As String, ByVal lpEnv As String) As Integer
  671. Declare Function cFindFileInPath Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  672. Declare Function cFloppyInfo Lib "time2win.dll" (ByVal nDrive As String, nHeads As Integer, nCylinders As Integer, nSectors As Integer) As Integer
  673. Declare Function cFraction Lib "time2win.dll" (ByVal nValue As Double, nNumerator As Double, nDenominator As Double) As Double
  674. Declare Function cFromBinary Lib "time2win.dll" (Text As String) As String
  675. Declare Function cFromBinary2 Lib "time2win.dll" (Text As String, Bin As String) As String
  676. Declare Function cFromHexa Lib "time2win.dll" (Text As String) As String
  677. Declare Function cFromHexa Lib "time2win.dll" (Text As String) As String
  678. Declare Function cFromZ9 Lib "time2win.dll" (Text As String) As String
  679. Declare Function cFullPath Lib "time2win.dll" (ByVal nFilename As String) As String
  680. Declare Function cFXpicture Lib "time2win.dll" (ByVal Method As Integer, ByVal hdc1 As Integer, ByVal hbitmap As Integer, ByVal parameter As Integer, ByVal delay As Integer) As Integer
  681. Declare Function cGet Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As String
  682. Declare Function cGetAscTime Lib "time2win.dll" (ByVal nLanguage As Integer) As String
  683. Declare Function cGetBit Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As Integer
  684. Declare Function cGetBitD Lib "time2win.dll" (ByVal Value As Double, ByVal Position As Integer) As Integer
  685. Declare Function cGetBitI Lib "time2win.dll" (ByVal Value As Integer, ByVal Position As Integer) As Integer
  686. Declare Function cGetBitL Lib "time2win.dll" (ByVal Value As Long, ByVal Position As Integer) As Integer
  687. Declare Function cGetBitS Lib "time2win.dll" (ByVal Value As Single, ByVal Position As Integer) As Integer
  688. Declare Function cGetBlock Lib "time2win.dll" (Txt As String, ByVal Position As Integer, ByVal Length As Integer) As String
  689. Declare Function cGetCaption Lib "time2win.dll" (ByVal hWnd As Integer) As String
  690. Declare Function cGetChangeTaskName Lib "time2win.dll" (ByVal hWnd As Integer, ByVal Text As String) As String
  691. Declare Function cGetClass Lib "time2win.dll" (ByVal hWnd As Integer) As String
  692. Declare Function cGetClassName Lib "time2win.dll" (ByVal hWnd As Integer) As String
  693. Declare Function cGetContainer Lib "time2win.dll" (ByVal hWnd As Integer) As String
  694. Declare Function cGetCountry Lib "time2win.dll" () As String
  695. Declare Function cGetCountryCode Lib "time2win.dll" () As String
  696. Declare Function cGetCtlCaption Lib "time2win.dll" (Ctl As Control) As String
  697. Declare Function cGetCtlClass Lib "time2win.dll" (Ctl As Control) As String
  698. Declare Function cGetCtlContainer Lib "time2win.dll" (Ctl As Control) As String
  699. Declare Function cGetCtlDataField Lib "time2win.dll" (Ctl As Control) As String
  700. Declare Function cGetCtlForm Lib "time2win.dll" (Ctl As Control) As String
  701. Declare Function cGetCtlIndex Lib "time2win.dll" (Ctl As Control) As Integer
  702. Declare Function cGetCtlName Lib "time2win.dll" (Ctl As Control) As String
  703. Declare Function cGetCtlNameIndex Lib "time2win.dll" (Ctl As Control) As String
  704. Declare Function cGetCtlPropCaption Lib "time2win.dll" (Ctl As Control) As Integer
  705. Declare Function cGetCtlPropDataField Lib "time2win.dll" (Ctl As Control) As Integer
  706. Declare Function cGetCtlPropText Lib "time2win.dll" (Ctl As Control) As Integer
  707. Declare Sub cGetCtlRect Lib "time2win.dll" (Ctl As Control, RECT As Any)
  708. Declare Sub cGetCtlRectTwips Lib "time2win.dll" (Ctl As Control, RECT As Any)
  709. Declare Function cGetCtlTag Lib "time2win.dll" (Ctl As Control) As String
  710. Declare Function cGetCtlTagSized Lib "time2win.dll" (Ctl As Control) As String
  711. Declare Function cGetCtlText Lib "time2win.dll" (Ctl As Control) As String
  712. Declare Function cGetCurrency Lib "time2win.dll" () As String
  713. Declare Function cGetCurrentDrive Lib "time2win.dll" () As String
  714. Declare Function cGetDataField Lib "time2win.dll" (ByVal hWnd As Integer) As String
  715. Declare Function cGetDateFormat Lib "time2win.dll" () As String
  716. Declare Function cGetDateSeparator Lib "time2win.dll" () As String
  717. Declare Function cGetDefaultCurrentDir Lib "time2win.dll" () As String
  718. Declare Function cGetDefaultPrinter Lib "time2win.dll" () As String
  719. Declare Function cGetDevices Lib "time2win.dll" () As String
  720. Declare Function cGetDiskClusterSize Lib "time2win.dll" (ByVal lpDrive As String) As Double
  721. Declare Function cGetDiskFree Lib "time2win.dll" (ByVal lpDrive As String) As Double
  722. Declare Function cGetDiskSpace Lib "time2win.dll" (ByVal lpDrive As String) As Double
  723. Declare Function cGetDiskUsed Lib "time2win.dll" (ByVal lpDrive As String) As Double
  724. Declare Function cGetDriveCurrentDir Lib "time2win.dll" (ByVal lpDrive As String) As String
  725. Declare Function cGetDriveType Lib "time2win.dll" (ByVal lpDrive As String) As Integer
  726. Declare Function cGetFileVersion Lib "time2win.dll" (ByVal FileName As String, ByVal nFonction As Integer) As String
  727. Declare Function cGetFileVersionInfo Lib "time2win.dll" (ByVal FileName As String, FILEVERSIONINFO As Any) As Integer
  728. Declare Function cGetForm Lib "time2win.dll" (ByVal hWnd As Integer) As String
  729. Declare Function cGetFullNameInEnv Lib "time2win.dll" (ByVal lpFilename As String, ByVal lpEnv As String) As String
  730. Declare Function cGetFullNameInPath Lib "time2win.dll" (ByVal lpFilename As String) As String
  731. Declare Function cGetHourFormat Lib "time2win.dll" () As String
  732. Declare Function cGetHwnd Lib "time2win.dll" (Ctl As Control) As Integer
  733. Declare Function cGetIn Lib "time2win.dll" (Txt As String, Separator As String, ByVal Position As Integer) As String
  734. Declare Function cGetIndex Lib "time2win.dll" (ByVal hWnd As Integer) As Integer
  735. Declare Function cGetIni Lib "time2win.dll" (ByVal AppName As String, ByVal szItem As String, ByVal szDefault As String, ByVal InitFile As String) As String
  736. Declare Function cGetInPart Lib "time2win.dll" (Txt As String, Separator As String, ByVal Position As Integer) As String
  737. Declare Function cGetInPartR Lib "time2win.dll" (Txt As String, Separator As String, ByVal Position As Integer) As String
  738. Declare Function cGetInR Lib "time2win.dll" (Txt As String, Separator As String, ByVal Position As Integer) As String
  739. Declare Function cGetLanguage Lib "time2win.dll" () As String
  740. Declare Function cGetListSeparator Lib "time2win.dll" () As String
  741. Declare Function cGetLongDay Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal nDay As Integer) As String
  742. Declare Function cGetLongMonth Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal nMonth As Integer) As String
  743. Declare Function cGetName Lib "time2win.dll" (ByVal hWnd As Integer) As String
  744. Declare Function cGetNameIndex Lib "time2win.dll" (ByVal hWnd As Integer) As String
  745. Declare Function cGetNetConnection Lib "time2win.dll" (ByVal lpDrive As String, ErrCode As Integer) As String
  746. Declare Function cGetPid Lib "time2win.dll" () As Integer
  747. Declare Function cGetPrinterPorts Lib "time2win.dll" () As String
  748. Declare Function cGetSectionItems Lib "time2win.dll" (ByVal Section As String, ByVal InitFile As String, nItems As Integer) As String
  749. Declare Function cGetShortDay Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal nDay As Integer) As String
  750. Declare Function cGetShortMonth Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal nMonth As Integer) As String
  751. Declare Function cGetSmallDay Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal nDay As Integer) As String
  752. Declare Function cGetSystemDirectory Lib "time2win.dll" () As String
  753. Declare Function cGetTag Lib "time2win.dll" (ByVal hWnd As Integer) As String
  754. Declare Function cGetTagSized Lib "time2win.dll" (ByVal hWnd As Integer, ByVal nSize As Integer) As String
  755. Declare Function cGetTaskName Lib "time2win.dll" (ByVal hWnd As Integer) As String
  756. Declare Function cGetText Lib "time2win.dll" (ByVal hWnd As Integer) As String
  757. Declare Function cGetTimeSeparator Lib "time2win.dll" () As String
  758. Declare Function cGetTinyDay Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal nDay As Integer) As String
  759. Declare Function cGetTinyMonth Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal nMonth As Integer) As String
  760. Declare Function cGetVersion Lib "time2win.dll" () As Single
  761. Declare Function cGetWindowsDirectory Lib "time2win.dll" () As String
  762. Declare Function cGetWinINI Lib "time2win.dll" (ByVal Info As Integer) As String
  763. Declare Function cGetWinSection Lib "time2win.dll" (ByVal Section As String) As String
  764. Declare Function cGiveBitPalindrome Lib "time2win.dll" () As String
  765. Declare Function cGZIPFileCompress Lib "time2win.dll" (ByVal File1 As String, ByVal File2 As String) As Long
  766. Declare Function cGZIPFileExpand Lib "time2win.dll" (ByVal File1 As String, ByVal File2 As String) As Long
  767. Declare Function cGZIPStringCompress Lib "time2win.dll" (Txt As String) As String
  768. Declare Function cGZIPStringExpand Lib "time2win.dll" (Txt As String) As String
  769. Declare Function cHideAllEditForm Lib "time2win.dll" () As Integer
  770. Declare Function cHideDebugForm Lib "time2win.dll" () As Integer
  771. Declare Function cHourTo Lib "time2win.dll" (Txt As String) As Variant
  772. Declare Function cI2B Lib "time2win.dll" (ByVal Value As Integer) As String
  773. Declare Function cIfInStr Lib "time2win.dll" (Txt As String, Operator As String) As String
  774. Declare Sub cIncrI Lib "time2win.dll" (Value As Integer)
  775. Declare Sub cIncrL Lib "time2win.dll" (Value As Long)
  776. Declare Function cInsertBlocks Lib "time2win.dll" (Txt As String, Insert As String) As String
  777. Declare Function cInsertBlocksBy Lib "time2win.dll" (Txt As String, Insert As String, Delimitor As String) As String
  778. Declare Function cInsertByMask Lib "time2win.dll" (Txt As String, Mask As String, Insert As String) As String
  779. Declare Function cInsertChars Lib "time2win.dll" (Txt As String, ByVal Position As Integer, Insert As String) As String
  780. Declare Function cIntoBalance Lib "time2win.dll" (Var As Variant) As String
  781. Declare Function cIntoBalanceFill Lib "time2win.dll" (Var As Variant) As String
  782. Declare Function cIntoDate Lib "time2win.dll" (ByVal nDate As Long) As String
  783. Declare Function cIntoDateFill Lib "time2win.dll" (ByVal nDate As Long) As String
  784. Declare Function cIntoDateNull Lib "time2win.dll" (ByVal nDate As Long) As String
  785. Declare Function cIntoFixHour Lib "time2win.dll" (Var As Variant, ByVal Length As Integer, ByVal fillZero As Integer, ByVal CentiΦme As Integer) As String
  786. Declare Function cIntoHour Lib "time2win.dll" (Var As Variant) As String
  787. Declare Function cIntoVarHour Lib "time2win.dll" (Var As Variant) As String
  788. Declare Function cIsAlnum Lib "time2win.dll" (Txt As String) As Integer
  789. Declare Function cIsAlpha Lib "time2win.dll" (Txt As String) As Integer
  790. Declare Function cIsAscii Lib "time2win.dll" (Txt As String) As Integer
  791. Declare Function cIsBalance Lib "time2win.dll" (ByVal nHour As Long, ByVal nMinute As Integer, ByVal nSecond As Integer) As Integer
  792. Declare Function cIsBitPalindrome Lib "time2win.dll" (Txt As String) As Integer
  793. Declare Function cIsCsym Lib "time2win.dll" (Txt As String) As Integer
  794. Declare Function cIsCsymf Lib "time2win.dll" (Txt As String) As Integer
  795. Declare Function cIsDate Lib "time2win.dll" (ByVal nYear As Integer, ByVal nMonth As Integer, ByVal nDay As Integer) As Integer
  796. Declare Function cIsDigit Lib "time2win.dll" (Txt As String) As Integer
  797. Declare Function cIsFileArchive Lib "time2win.dll" (ByVal nFilename As String) As Integer
  798. Declare Function cIsFileEmpty Lib "time2win.dll" (ByVal nFilename As String) As Integer
  799. Declare Function cIsFileFlag Lib "time2win.dll" (ByVal nFilename As String, ByVal nStatus As Integer) As Integer
  800. Declare Function cIsFileHidden Lib "time2win.dll" (ByVal nFilename As String) As Integer
  801. Declare Function cIsFileNormal Lib "time2win.dll" (ByVal nFilename As String) As Integer
  802. Declare Function cIsFilenameValid Lib "time2win.dll" (ByVal nFilename As String) As Integer
  803. Declare Function cIsFileReadOnly Lib "time2win.dll" (ByVal nFilename As String) As Integer
  804. Declare Function cIsFileSubDir Lib "time2win.dll" (ByVal nFilename As String) As Integer
  805. Declare Function cIsFileSystem Lib "time2win.dll" (ByVal nFilename As String) As Integer
  806. Declare Function cIsFileVolId Lib "time2win.dll" (ByVal nFilename As String) As Integer
  807. Declare Function cIsFormEnabled Lib "time2win.dll" (ByVal hWnd As Integer) As Integer
  808. Declare Function cIsHour Lib "time2win.dll" (ByVal nHour As Integer, ByVal nMinute As Integer, ByVal nSecond As Integer) As Integer
  809. Declare Function cIsISBN Lib "time2win.dll" (Txt As String) As Integer
  810. Declare Function cIsLeapYear Lib "time2win.dll" (ByVal nYear As Integer) As Integer
  811. Declare Function cIsLower Lib "time2win.dll" (Txt As String) As Integer
  812. Declare Function cIsPalindrome Lib "time2win.dll" (Txt As String) As Integer
  813. Declare Function cIsPunct Lib "time2win.dll" (Txt As String) As Integer
  814. Declare Function cIsSerial Lib "time2win.dll" (ByVal File1 As String) As Integer
  815. Declare Function cIsSpace Lib "time2win.dll" (Txt As String) As Integer
  816. Declare Function cIsUpper Lib "time2win.dll" (Txt As String) As Integer
  817. Declare Function cIsXdigit Lib "time2win.dll" (Txt As String) As Integer
  818. Declare Function cKillDir Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  819. Declare Function cKillDirFilesAll Lib "time2win.dll" (ByVal lpDir As String, ByVal lpMask As String) As Integer
  820. Declare Function cKillDirs Lib "time2win.dll" (ByVal lpDir As String, ByVal HeaderDirectory As Integer) As Integer
  821. Declare Function cKillFile Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  822. Declare Function cKillFileAll Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  823. Declare Function cKillFiles Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  824. Declare Function cKillFilesAll Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  825. Declare Sub cKillFocus Lib "time2win.dll" (ByVal hWnd As Integer)
  826. Declare Function cL2B Lib "time2win.dll" (ByVal Value As Long) As String
  827. Declare Function cLngMsgBox Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal Message As String, ByVal Button As Long, ByVal Title As String) As Integer
  828. Declare Sub cLngBoxMsg Lib "time2win.dll" Alias "cLngMsgBox" (ByVal nLanguage As Integer, ByVal Message As String, ByVal Button As Long, ByVal Title As String)
  829. Declare Function cLngInpBox Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal Message As String, ByVal Title As String, ByVal Default As String) As String
  830. Declare Sub cLngSysMenu Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal hWnd As Integer)
  831. Declare Function cLockEventI Lib "time2win.dll" (Ctl As Control) As Integer
  832. Declare Function cLrc Lib "time2win.dll" (Txt As String) As String
  833. Declare Function cMakeDir Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  834. Declare Function cMakeMultipleDir Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  835. Declare Function cMakePath Lib "time2win.dll" (ByVal nDrive As String, ByVal nDir As String, ByVal nFilename As String, ByVal Ext As String) As String
  836. Declare Sub cMatrixAdd Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ArrayB() As Double, ArrayC() As Double)
  837. Declare Function cMatrixCoFactor Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ByVal Row As Integer, ByVal Col As Integer) As Double
  838. Declare Function cMatrixCompare Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ArrayC() As Double) As Integer
  839. Declare Sub cMatrixCopy Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ArrayC() As Double)
  840. Declare Function cMatrixDet Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double) As Double
  841. Declare Function cMatrixFill Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ByVal nInit As Integer) As Integer
  842. Declare Function cMatrixInv Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ArrayC() As Double) As Integer
  843. Declare Function cMatrixMinor Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ByVal Row As Integer, ByVal Col As Integer) As Double
  844. Declare Sub cMatrixMul Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ArrayB() As Double, ArrayC() As Double)
  845. Declare Sub cMatrixSub Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ArrayB() As Double, ArrayC() As Double)
  846. Declare Function cMatrixSymToeplitz Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ArrayC() As Double) As Integer
  847. Declare Sub cMatrixTranspose Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ArrayC() As Double)
  848. Declare Function cMax Lib "time2win.dll" (Var1 As Variant, Var2 As Variant) As Variant
  849. Declare Function cMaxD Lib "time2win.dll" (array() As Double) As Double
  850. Declare Function cMaxI Lib "time2win.dll" (array() As Integer) As Integer
  851. Declare Function cMaxL Lib "time2win.dll" (array() As Long) As Long
  852. Declare Function cMaxS Lib "time2win.dll" (array() As Single) As Single
  853. Declare Function cMaxNotXD Lib "time2win.dll" (array() As Double, ByVal ValueNotToReturn As Double) As Double
  854. Declare Function cMaxNotXI Lib "time2win.dll" (array() As Integer, ByVal ValueNotToReturn As Integer) As Integer
  855. Declare Function cMaxNotXL Lib "time2win.dll" (array() As Long, ByVal ValueNotToReturn As Long) As Long
  856. Declare Function cMaxNotXS Lib "time2win.dll" (array() As Single, ByVal ValueNotToReturn As Single) As Single
  857. Declare Function cMDAClear Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY) As Integer
  858. Declare Function cMDAClearCol Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Col As Long, ByVal sheet As Long) As Integer
  859. Declare Function cMDAClearRow Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Row As Long, ByVal sheet As Long) As Integer
  860. Declare Function cMDAClearSheet Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal sheet As Long) As Integer
  861. Declare Sub cMDAClose Lib "time2win.dll" (MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal DeleteFile As Integer)
  862. Declare Function cMDACreate Lib "time2win.dll" (MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal CreateOrUse As Integer) As Integer
  863. Declare Function cMDAGet Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long) As Variant
  864. Declare Sub cMDAGetType Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long, nType As Any)
  865. Declare Sub cMDAPut Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long, Var As Variant)
  866. Declare Sub cMDAPutType Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long, nType As Any)
  867. Declare Sub cMDArGet Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Col As Long, Var As Variant)
  868. Declare Sub cMDArGetType Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Col As Long, nType As Any)
  869. Declare Sub cMDArPut Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Col As Long, Var As Variant)
  870. Declare Sub cMDArPutType Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Col As Long, nType As Any)
  871. Declare Function cMDAsClearCol Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Col As Long) As Integer
  872. Declare Function cMDAsClearRow Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Row As Long) As Integer
  873. Declare Sub cMDAsGet Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Row As Long, ByVal Col As Long, Var As Variant)
  874. Declare Sub cMDAsGetType Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Row As Long, ByVal Col As Long, nType As Any)
  875. Declare Sub cMDAsPut Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Row As Long, ByVal Col As Long, Var As Variant)
  876. Declare Sub cMDAsPutType Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Row As Long, ByVal Col As Long, nType As Any)
  877. Declare Function cMeanD Lib "time2win.dll" (array() As Double) As Double
  878. Declare Function cMeanI Lib "time2win.dll" (array() As Integer) As Double
  879. Declare Function cMeanL Lib "time2win.dll" (array() As Long) As Double
  880. Declare Function cMeanS Lib "time2win.dll" (array() As Single) As Double
  881. Declare Function cMin Lib "time2win.dll" (Var1 As Variant, Var2 As Variant) As Variant
  882. Declare Function cMinD Lib "time2win.dll" (array() As Double) As Double
  883. Declare Function cMinI Lib "time2win.dll" (array() As Integer) As Integer
  884. Declare Function cMinL Lib "time2win.dll" (array() As Long) As Long
  885. Declare Function cMinS Lib "time2win.dll" (array() As Single) As Single
  886. Declare Function cMinNotXD Lib "time2win.dll" (array() As Double, ByVal ValueNotToReturn As Double) As Double
  887. Declare Function cMinNotXI Lib "time2win.dll" (array() As Integer, ByVal ValueNotToReturn As Integer) As Integer
  888. Declare Function cMinNotXL Lib "time2win.dll" (array() As Long, ByVal ValueNotToReturn As Long) As Long
  889. Declare Function cMinNotXS Lib "time2win.dll" (array() As Single, ByVal ValueNotToReturn As Single) As Single
  890. Declare Function cMixChars Lib "time2win.dll" (Txt As String) As String
  891. Declare Function cMKB Lib "time2win.dll" (ByVal Value As Integer) As String
  892. Declare Function cMKC Lib "time2win.dll" (ByVal Value As Currency) As String
  893. Declare Function cMKD Lib "time2win.dll" (ByVal Value As Double) As String
  894. Declare Function cMKI Lib "time2win.dll" (ByVal Value As Integer) As String
  895. Declare Function cMKL Lib "time2win.dll" (ByVal Value As Long) As String
  896. Declare Function cMKN Lib "time2win.dll" (ByVal Value As String) As String
  897. Declare Function cMKS Lib "time2win.dll" (ByVal Value As Single) As String
  898. Declare Function cMod10 Lib "time2win.dll" (ByVal Text As String) As Integer
  899. Declare Function cMod10R Lib "time2win.dll" (ByVal Text As String) As Integer
  900. Declare Function cMod11 Lib "time2win.dll" (ByVal Text As String) As Integer
  901. Declare Function cMod11R Lib "time2win.dll" (ByVal Text As String) As Integer
  902. Declare Function cMod137 Lib "time2win.dll" (ByVal Text As String) As Integer
  903. Declare Function cMod137R Lib "time2win.dll" (ByVal Text As String) As Integer
  904. Declare Function cModuleFind Lib "time2win.dll" (MODULEENTRY As Any, ByVal ModuleName As String) As Integer
  905. Declare Function cModules Lib "time2win.dll" (MODULEENTRY As Any, ByVal FirstNext As Integer) As Integer
  906. Declare Function cMorse Lib "time2win.dll" (ByVal morse As String) As String
  907. Declare Function cNexthWnd Lib "time2win.dll" (ByVal hWnd As Integer) As Integer
  908. Declare Function cNumDigit Lib "time2win.dll" (Txt As String) As Integer
  909. Declare Function cOneCharFromLeft Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As String
  910. Declare Function cOneCharFromRight Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As String
  911. Declare Function cOrToken Lib "time2win.dll" (ByVal Txt As String, ByVal Token As String) As Integer
  912. Declare Function cOrTokenIn Lib "time2win.dll" (ByVal Txt As String, ByVal Token As String, ByVal Separator As String) As Integer
  913. Declare Function cPatternMatch Lib "time2win.dll" (ByVal Txt As String, ByVal pattern As String) As Integer
  914. Declare Function cPatternExtMatch Lib "time2win.dll" (ByVal Txt As String, ByVal pattern As String) As Integer
  915. Declare Function cProperName Lib "time2win.dll" (Txt As String) As String
  916. Declare Function cProperName2 Lib "time2win.dll" (Txt As String, ByVal TokenToUse As String, ByVal Options As Integer) As String
  917. Declare Sub cPutIni Lib "time2win.dll" (ByVal AppName As String, ByVal szItem As String, ByVal szDefault As String, ByVal InitFile As String)
  918. Declare Function cRcsCountFileDir Lib "time2win.dll" (ByVal FileOrDir As Integer, ByVal FirstFileOrDir As String, ByVal MaskDir As String, ByVal Recurse As Integer) As Integer
  919. Declare Function cRcsFilesSize Lib "time2win.dll" (ByVal FirstDir As String, ByVal MaskDir As String, ByVal Recurse As Integer) As Double
  920. Declare Function cRcsFilesSizeOnDisk Lib "time2win.dll" (ByVal FirstDir As String, ByVal MaskDir As String, ByVal Recurse As Integer) As Double
  921. Declare Function cRcsFilesSlack Lib "time2win.dll" (ByVal FirstDir As String, ByVal MaskDir As String, ByVal Recurse As Integer, Size1 As Double, Size2 As Double) As Integer
  922. Declare Function cReadBasisTimer Lib "time2win.dll" () As Long
  923. Declare Function cReadCtlLanguage Lib "time2win.dll" (Ctl As Control, ByVal Property As Integer, ByVal FileLanguage As String) As Integer
  924. Declare Function cReadCtlLanguageExt Lib "time2win.dll" (Ctl As Control, ByVal Property As Integer, ByVal FileLanguage As String) As Integer
  925. Declare Function cReadMnuLanguage Lib "time2win.dll" (Ctl As Control, ByVal FileLanguage As String) As Integer
  926. Declare Function cReadMnuLanguageExt Lib "time2win.dll" (Ctl As Control, ByVal FileLanguage As String) As Integer
  927. Declare Function cReadTimer Lib "time2win.dll" (ByVal nTimer As Integer) As Long
  928. Declare Function cRebootSystem Lib "time2win.dll" () As Integer
  929. Declare Function cRegistrationKey Lib "time2win.dll" (ByVal RegString As String, ByVal RegCode As Long) As Long
  930. Declare Function cRemoveBlockChar Lib "time2win.dll" (Txt As String, ByVal Position As Integer, ByVal Length As Integer) As String
  931. Declare Function cRemoveOneChar Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As String
  932. Declare Function cRenameFile Lib "time2win.dll" (ByVal lpFilename1 As String, ByVal lpFilename2 As String) As Integer
  933. Declare Sub cResetCapture Lib "time2win.dll" ()
  934. Declare Sub cResetFocus Lib "time2win.dll" (ByVal hWnd1 As Integer, ByVal hWnd2 As Integer)
  935. Declare Function cResizeString Lib "time2win.dll" (Txt As String, ByVal NewLength As Integer) As String
  936. Declare Function cResizeStringAndFill Lib "time2win.dll" (Txt As String, ByVal NewLength As Integer, Fill As String) As String
  937. Declare Function cRestartWindows Lib "time2win.dll" () As Integer
  938. Declare Function cReverse Lib "time2win.dll" (Txt As String) As String
  939. Declare Sub cReverseAllBits Lib "time2win.dll" (Txt As String)
  940. Declare Sub cReverseAllBitsByChar Lib "time2win.dll" (Txt As String)
  941. Declare Function cReverseSortD Lib "time2win.dll" (array() As Double) As Integer
  942. Declare Function cReverseSortI Lib "time2win.dll" (array() As Integer) As Integer
  943. Declare Function cReverseSortL Lib "time2win.dll" (array() As Long) As Integer
  944. Declare Function cReverseSortS Lib "time2win.dll" (array() As Single) As Integer
  945. Declare Function cReverseSortStr Lib "time2win.dll" (Txt As String, ByVal nItem As Integer, ByVal ItemLength As Integer) As Integer
  946. Declare Sub cRndInit Lib "time2win.dll" (ByVal nRnd As Long)
  947. Declare Function cRnd Lib "time2win.dll" () As Double
  948. Declare Function cRndD Lib "time2win.dll" () As Double
  949. Declare Function cRndI Lib "time2win.dll" () As Integer
  950. Declare Function cRndL Lib "time2win.dll" () As Long
  951. Declare Function cRndS Lib "time2win.dll" () As Single
  952. Declare Function cRomanToArabic Lib "time2win.dll" (Txt As String) As Variant
  953. Declare Function cRUBYdecrypt Lib "time2win.dll" (Text As String, Key As String, ByVal Mode As Integer) As String
  954. Declare Function cRUBYencrypt Lib "time2win.dll" (Text As String, Key As String, ByVal Mode As Integer) As String
  955. Declare Function cRUBYdecryptFile Lib "time2win.dll" (ByVal FileIn As String, ByVal FileOut As String, Key As String, ByVal Mode As Integer) As Long
  956. Declare Function cRUBYencryptFile Lib "time2win.dll" (ByVal FileIn As String, ByVal FileOut As String, Key As String, ByVal Mode As Integer) As Long
  957. Declare Function cSaveCtlLanguage Lib "time2win.dll" (Ctl As Control, ByVal Property As Integer, ByVal FileLanguage As String) As Integer
  958. Declare Function cSaveCtlLanguageExt Lib "time2win.dll" (Ctl As Control, ByVal Property As Integer, ByVal FileLanguage As String) As Integer
  959. Declare Function cSaveMnuLanguage Lib "time2win.dll" (Ctl As Control, ByVal FileLanguage As String) As Integer
  960. Declare Function cSaveMnuLanguageExt Lib "time2win.dll" (Ctl As Control, ByVal FileLanguage As String) As Integer
  961. Declare Sub cScalarToDate Lib "time2win.dll" (ByVal Scalar As Long, nYear As Integer, nMonth As Integer, nDay As Integer)
  962. Declare Sub cScalarToTime Lib "time2win.dll" (ByVal Scalar As Long, nHour As Integer, nMin As Integer, nSec As Integer)
  963. Declare Function cScrollL Lib "time2win.dll" (Txt As String) As String
  964. Declare Function cScrollR Lib "time2win.dll" (Txt As String) As String
  965. Declare Function cSearchI Lib "time2win.dll" (array() As Integer, ByVal Value As Integer) As Long
  966. Declare Function cSearchL Lib "time2win.dll" (array() As Long, ByVal Value As Long) As Long
  967. Declare Function cSearchS Lib "time2win.dll" (array() As Single, ByVal Value As Single) As Long
  968. Declare Function cSearchD Lib "time2win.dll" (array() As Double, ByVal Value As Double) As Long
  969. Declare Sub cSetAllBits Lib "time2win.dll" (Txt As String, ByVal Value As Integer)
  970. Declare Sub cSetBit Lib "time2win.dll" (Txt As String, ByVal Position As Integer, ByVal Value As Integer)
  971. Declare Sub cSetBitToFalse Lib "time2win.dll" (Txt As String, ByVal Position As Integer)
  972. Declare Sub cSetBitToTrue Lib "time2win.dll" (Txt As String, ByVal Position As Integer)
  973. Declare Sub cSetBitD Lib "time2win.dll" (Value As Double, ByVal Position As Integer, ByVal BitValue As Integer)
  974. Declare Sub cSetBitI Lib "time2win.dll" (Value As Integer, ByVal Position As Integer, ByVal BitValue As Integer)
  975. Declare Sub cSetBitL Lib "time2win.dll" (Value As Long, ByVal Position As Integer, ByVal BitValue As Integer)
  976. Declare Sub cSetBitS Lib "time2win.dll" (Value As Single, ByVal Position As Integer, ByVal BitValue As Integer)
  977. Declare Sub cSetCaption Lib "time2win.dll" (ByVal hWnd As Integer, ByVal Text As String)
  978. Declare Sub cSetCapture Lib "time2win.dll" (ByVal hWnd As Integer)
  979. Declare Sub cSetCtlCaption Lib "time2win.dll" (Ctl As Control, ByVal Text As String)
  980. Declare Sub cSetCtlDataField Lib "time2win.dll" (Ctl As Control, ByVal Text As String)
  981. Declare Sub cSetCtlFocus Lib "time2win.dll" (Ctl As Control)
  982. Declare Sub cSetCtlPropString Lib "time2win.dll" (Ctl As Control, ByVal PropIndex As Integer, ByVal Text As String)
  983. Declare Sub cSetCtlTag Lib "time2win.dll" (Ctl As Control, ByVal Text As String)
  984. Declare Sub cSetCtlText Lib "time2win.dll" (Ctl As Control, ByVal Text As String)
  985. Declare Function cSetD Lib "time2win.dll" (array() As Double, ByVal nValue As Double) As Integer
  986. Declare Sub cSetDataField Lib "time2win.dll" (ByVal hWnd As Integer, ByVal Text As String)
  987. Declare Sub cSetDefaultSeparator Lib "time2win.dll" (Separator As String)
  988. Declare Sub cSetFocus Lib "time2win.dll" (ByVal hWnd As Integer)
  989. Declare Function cSetHandleCount Lib "time2win.dll" (ByVal nHandle As Integer) As Integer
  990. Declare Function cSetI Lib "time2win.dll" (array() As Integer, ByVal nValue As Integer) As Integer
  991. Declare Function cSetL Lib "time2win.dll" (array() As Long, ByVal nValue As Long) As Integer
  992. Declare Function cSerialGet Lib "time2win.dll" (ByVal FILE As String, SERIALDATA As tagSERIALDATA) As Integer
  993. Declare Function cSerialInc Lib "time2win.dll" (ByVal FILE As String, ByVal Increment As Long) As Integer
  994. Declare Function cSerialPut Lib "time2win.dll" (ByVal FILE As String, SERIALDATA As tagSERIALDATA) As Integer
  995. Declare Function cSerialRmv Lib "time2win.dll" (ByVal FILE As String) As Integer
  996. Declare Function cSetS Lib "time2win.dll" (array() As Single, ByVal nValue As Single) As Integer
  997. Declare Sub cSetTag Lib "time2win.dll" (ByVal hWnd As Integer, ByVal Text As String)
  998. Declare Sub cSetText Lib "time2win.dll" (ByVal hWnd As Integer, ByVal Text As String)
  999. Declare Sub cSetWait Lib "time2win.dll" (ByVal nTimer As Integer, ByVal nValue As Long)
  1000. Declare Function cSgn Lib "time2win.dll" (ByVal Value As Integer) As Integer
  1001. Declare Sub cShowWindow Lib "time2win.dll" (ByVal hWnd As Integer, ByVal Method As Integer, ByVal interval As Integer)
  1002. Declare Function cSleep Lib "time2win.dll" (ByVal delay As Long) As Integer
  1003. Declare Function cSortD Lib "time2win.dll" (array() As Double) As Integer
  1004. Declare Function cSortI Lib "time2win.dll" (array() As Integer) As Integer
  1005. Declare Function cSortL Lib "time2win.dll" (array() As Long) As Integer
  1006. Declare Function cSortS Lib "time2win.dll" (array() As Single) As Integer
  1007. Declare Function cSortStr Lib "time2win.dll" (Txt As String, ByVal nItem As Integer, ByVal ItemLength As Integer) As Integer
  1008. Declare Function cSpellMoney Lib "time2win.dll" (ByVal Value As Double, ByVal Units As String, ByVal Cents As String) As String
  1009. Declare Function cSplitFile Lib "time2win.dll" (ByVal SourceFile As String, ByVal TargetFiles As String, ByVal PartSize As Long) As Long
  1010. Declare Function cSplitPath Lib "time2win.dll" (ByVal nFilename As String, SPLITPATH As Any) As Integer
  1011. Declare Sub cStartBasisTimer Lib "time2win.dll" ()
  1012. Declare Sub cStartTimer Lib "time2win.dll" (ByVal nTimer As Integer)
  1013. Declare Sub cStartWait Lib "time2win.dll" (ByVal nTimer As Integer)
  1014. Declare Sub cStopBasisTimer Lib "time2win.dll" ()
  1015. Declare Function cStopTimer Lib "time2win.dll" (ByVal nTimer As Integer) As Long
  1016. Declare Function cStringCompress Lib "time2win.dll" (Txt As String) As String
  1017. Declare Function cStringCRC32 Lib "time2win.dll" (Txt As String) As Long
  1018. Declare Function cStringExpand Lib "time2win.dll" (Txt As String) As String
  1019. Declare Function cStringSAR Lib "time2win.dll" (ByVal Txt As String, ByVal Search As String, ByVal Replace As String, ByVal Sensitivity As Integer) As String
  1020. Declare Sub cStringToType Lib "time2win.dll" Alias "cTypesCopy" (ByVal Src As String, TypeDst As Any, ByVal lenTypeSrc As Integer)
  1021. Declare Function cSubDirectory Lib "time2win.dll" (ByVal nFilename As String, ByVal FirstNext As Integer) As String
  1022. Declare Function cSumD Lib "time2win.dll" (array() As Double) As Double
  1023. Declare Function cSumI Lib "time2win.dll" (array() As Integer) As Double
  1024. Declare Function cSumL Lib "time2win.dll" (array() As Long) As Double
  1025. Declare Function cSumS Lib "time2win.dll" (array() As Single) As Double
  1026. Declare Sub cSysMenuChange Lib "time2win.dll" (ByVal hWnd As Integer, ByVal Position As Integer, ByVal NewMessage As String)
  1027. Declare Sub cSwapD Lib "time2win.dll" (swap1 As Double, swap2 As Double)
  1028. Declare Sub cSwapI Lib "time2win.dll" (swap1 As Integer, swap2 As Integer)
  1029. Declare Sub cSwapL Lib "time2win.dll" (swap1 As Long, swap2 As Long)
  1030. Declare Sub cSwapS Lib "time2win.dll" (swap1 As Single, swap2 As Single)
  1031. Declare Sub cSwapStr Lib "time2win.dll" (swap1 As String, swap2 As String)
  1032. Declare Function cTaskFind Lib "time2win.dll" (TASKENTRY As Any, ByVal hTask As Integer) As Integer
  1033. Declare Function cTasks Lib "time2win.dll" (TASKENTRY As Any, ByVal FirstNext As Integer) As Integer
  1034. Declare Function cTimeBetween Lib "time2win.dll" (ByVal Hr1 As Integer, ByVal Hr2 As Integer) As Integer
  1035. Declare Function cTimerClose Lib "time2win.dll" (ByVal TimerHandle As Integer) As Integer
  1036. Declare Function cTimerOpen Lib "time2win.dll" () As Integer
  1037. Declare Function cTimerRead Lib "time2win.dll" (ByVal TimerHandle As Integer) As Long
  1038. Declare Function cTimerStart Lib "time2win.dll" (ByVal TimerHandle As Integer) As Integer
  1039. Declare Function cTimeToScalar Lib "time2win.dll" (ByVal nHour As Integer, ByVal nMin As Integer, ByVal nSec As Integer) As Long
  1040. Declare Function cToBinary Lib "time2win.dll" (Text As String) As String
  1041. Declare Function cToBinary2 Lib "time2win.dll" (Text As String, Bin As String) As String
  1042. Declare Sub cToggleAllBits Lib "time2win.dll" (Txt As String)
  1043. Declare Sub cToggleBit Lib "time2win.dll" (Txt As String, ByVal Position As Integer)
  1044. Declare Function cToHexa Lib "time2win.dll" (Text As String) As String
  1045. Declare Function cTokenIn Lib "time2win.dll" (Txt As String, Separator As String, ByVal Position As Integer) As String
  1046. Declare Function cToZ9 Lib "time2win.dll" (Text As String) As String
  1047. Declare Function cTrueBetween Lib "time2win.dll" (Var As Variant, Var1 As Variant, Var2 As Variant) As Integer
  1048. Declare Function cTruncatePath Lib "time2win.dll" (ByVal nFilename As String, ByVal NewLength As Integer) As String
  1049. Declare Sub cTypeClear Lib "time2win.dll" (TypeSrc As Any, ByVal lenTypeSrc As Integer)
  1050. Declare Function cTypeMid Lib "time2win.dll" (TypeSrc As Any, ByVal offset As Integer, ByVal Length As Integer) As String
  1051. Declare Function cTypesCompare Lib "time2win.dll" (Type1 As Any, Type2 As Any, ByVal lenType1 As Integer) As Integer
  1052. Declare Sub cTypesCopy Lib "time2win.dll" (TypeSrc As Any, TypeDst As Any, ByVal lenTypeSrc As Integer)
  1053. Declare Function cTypeTransfert Lib "time2win.dll" (TypeSrc As Any, ByVal lenTypeSrc As Integer) As String
  1054. Declare Sub cTypeToString Lib "time2win.dll" Alias "cTypesCopy" (TypeSrc As Any, ByVal Dst As String, ByVal lenTypeSrc As Integer)
  1055. Declare Function cUncompact Lib "time2win.dll" (Txt As String) As String
  1056. Declare Function cUnHideAllEditForm Lib "time2win.dll" () As Integer
  1057. Declare Function cUnHideDebugForm Lib "time2win.dll" () As Integer
  1058. Declare Function cUniqueFileName Lib "time2win.dll" (Txt As String) As String
  1059. Declare Sub cUnloadDLL Lib "time2win.dll" (ByVal hMod As Integer)
  1060. Declare Sub cUnlockEventI Lib "time2win.dll" (Ctl As Control)
  1061. Declare Function cWalkThruWindow Lib "time2win.dll" (Class As String, Caption As String, OwnerHwnd As Integer, OwnerClass As String, OwnerCaption As String, ByVal FirstNext As Integer) As Integer
  1062. Declare Function cWeekOfYear Lib "time2win.dll" (ByVal nYear As Integer, ByVal nMonth As Integer, ByVal nDay As Integer, ByVal nISO As Integer) As Integer
  1063.  
  1064. Declare Sub cPushID Lib "time2win.dll" (IDArray As Integer, ByVal nID As Integer)
  1065. Declare Sub cPopID Lib "time2win.dll" (IDArray As Integer, ByVal nID As Integer)
  1066. Declare Sub cPopLastID Lib "time2win.dll" (IDArray As Integer)
  1067. Declare Function cGetID Lib "time2win.dll" (IDArray As Integer, ByVal nPosition As Integer) As Integer
  1068. Declare Sub cClearID Lib "time2win.dll" (IDArray As Integer)
  1069.  
  1070. ' File I/O, direct routines issued from C functionnalities
  1071. Declare Function cFopen Lib "time2win.dll" (ByVal FILE As String, ByVal Mode As String) As Long
  1072. Declare Function cFclose Lib "time2win.dll" (ByVal IOstream As Long) As Integer
  1073. Declare Function cFgetc Lib "time2win.dll" (ByVal IOstream As Long) As Integer
  1074. Declare Function cFputc Lib "time2win.dll" (ByVal char As Integer, ByVal IOstream As Long) As Integer
  1075. Declare Function cFputs Lib "time2win.dll" (ByVal Txt As String, ByVal IOstream As Long) As Integer
  1076. Declare Function cFgets Lib "time2win.dll" (Txt As String, ByVal Length As Integer, ByVal IOstream As Long) As Integer
  1077. Declare Function cFwrite Lib "time2win.dll" (Txt As String, ByVal IOstream As Long) As Integer
  1078. Declare Function cFread Lib "time2win.dll" (Txt As String, ByVal Length As Integer, ByVal IOstream As Long) As Integer
  1079. Declare Function cFcloseall Lib "time2win.dll" () As Integer
  1080. Declare Function cFflush Lib "time2win.dll" (ByVal IOstream As Long) As Integer
  1081. Declare Function cFflushall Lib "time2win.dll" () As Integer
  1082. Declare Function cFeof Lib "time2win.dll" (ByVal IOstream As Long) As Integer
  1083. Declare Function cFerror Lib "time2win.dll" (ByVal IOstream As Long) As Integer
  1084. Declare Sub cFclearerr Lib "time2win.dll" (ByVal IOstream As Long)
  1085. Declare Function cFseek Lib "time2win.dll" (ByVal IOstream As Long, ByVal offset As Long, ByVal origin As Integer) As Integer
  1086. Declare Function cFtell Lib "time2win.dll" (ByVal IOstream As Long) As Long
  1087. Declare Sub cFrewind Lib "time2win.dll" (ByVal IOstream As Long)
  1088. Declare Function cFProcessAsciiFile Lib "time2win.dll" (ByVal IOstream As Long, AsciiOffset() As Long) As Long
  1089. Declare Function cFGotoRecord Lib "time2win.dll" (ByVal IOstream As Long, AsciiOffset() As Long, ByVal Record As Long) As Integer
  1090.  
  1091. ' Functions for calculating interest rate
  1092. Declare Function cAtoF Lib "time2win.dll" (ByVal Interest As Double, ByVal n As Integer) As Double
  1093. Declare Function cAtoFC Lib "time2win.dll" (ByVal Rates As Double, ByVal n As Integer) As Double
  1094. Declare Function cAtoP Lib "time2win.dll" (ByVal Interest As Double, ByVal n As Integer) As Double
  1095. Declare Function cAtoPC Lib "time2win.dll" (ByVal Rates As Double, ByVal n As Integer) As Double
  1096. Declare Function cFtoA Lib "time2win.dll" (ByVal Interest As Double, ByVal n As Integer) As Double
  1097. Declare Function cFtoAC Lib "time2win.dll" (ByVal Rates As Double, ByVal n As Integer) As Double
  1098. Declare Function cFtoP Lib "time2win.dll" (ByVal Interest As Double, ByVal n As Integer) As Double
  1099. Declare Function cFtoPC Lib "time2win.dll" (ByVal Rates As Double, ByVal n As Integer) As Double
  1100. Declare Function cPtoA Lib "time2win.dll" (ByVal Interest As Double, ByVal n As Integer) As Double
  1101. Declare Function cPtoAC Lib "time2win.dll" (ByVal Rates As Double, ByVal n As Integer) As Double
  1102. Declare Function cPtoF Lib "time2win.dll" (ByVal Interest As Double, ByVal n As Integer) As Double
  1103. Declare Function cPtoFC Lib "time2win.dll" (ByVal Rates As Double, ByVal n As Integer) As Double
  1104.  
  1105. ' Functions for calculating 2-D geometry
  1106. Declare Sub cV2Add Lib "time2win.dll" (u As tagVECTOR2, v As tagVECTOR2, w As tagVECTOR2)
  1107. Declare Sub cV2Sub Lib "time2win.dll" (u As tagVECTOR2, v As tagVECTOR2, w As tagVECTOR2)
  1108. Declare Sub cV2Combine Lib "time2win.dll" (u As tagVECTOR2, ByVal c1 As Double, v As tagVECTOR2, ByVal c2 As Double, w As tagVECTOR2)
  1109. Declare Sub cV2Copy Lib "time2win.dll" (u As tagVECTOR2, w As tagVECTOR2)
  1110. Declare Function cV2Dot Lib "time2win.dll" (u As tagVECTOR2, v As tagVECTOR2) As Double
  1111. Declare Function cV2Length Lib "time2win.dll" (u As tagVECTOR2) As Double
  1112. Declare Function cV2LengthSquared Lib "time2win.dll" (u As tagVECTOR2) As Double
  1113. Declare Sub cV2LinearIp Lib "time2win.dll" (lo As tagVECTOR2, hi As tagVECTOR2, ByVal alpha As Double, w As tagVECTOR2)
  1114. Declare Sub cV2Mul Lib "time2win.dll" (u As tagVECTOR2, v As tagVECTOR2, w As tagVECTOR2)
  1115. Declare Sub cV2Neg Lib "time2win.dll" (u As tagVECTOR2)
  1116. Declare Sub cV2Normalized Lib "time2win.dll" (u As tagVECTOR2)
  1117. Declare Sub cV2Ortho Lib "time2win.dll" (u As tagVECTOR2, w As tagVECTOR2)
  1118. Declare Sub cV2ScaledNewLength Lib "time2win.dll" (u As tagVECTOR2, ByVal newlen As Double)
  1119. Declare Function cV2SegmentLength Lib "time2win.dll" (p As tagVECTOR2, q As tagVECTOR2) As Double
  1120.  
  1121. ' Functions for calculating 3-D geometry
  1122. Declare Sub cV3Add Lib "time2win.dll" (u As tagVECTOR3, v As tagVECTOR3, w As tagVECTOR3)
  1123. Declare Sub cV3Sub Lib "time2win.dll" (u As tagVECTOR3, v As tagVECTOR3, w As tagVECTOR3)
  1124. Declare Sub cV3Combine Lib "time2win.dll" (u As tagVECTOR3, ByVal c1 As Double, v As tagVECTOR3, ByVal c2 As Double, w As tagVECTOR3)
  1125. Declare Sub cV3Copy Lib "time2win.dll" (u As tagVECTOR3, w As tagVECTOR3)
  1126. Declare Sub cV3Cross Lib "time2win.dll" (u As tagVECTOR3, v As tagVECTOR3, w As tagVECTOR3)
  1127. Declare Function cV3Dot Lib "time2win.dll" (u As tagVECTOR3, v As tagVECTOR3) As Double
  1128. Declare Function cV3Length Lib "time2win.dll" (u As tagVECTOR3) As Double
  1129. Declare Function cV3LengthSquared Lib "time2win.dll" (u As tagVECTOR3) As Double
  1130. Declare Sub cV3LinearIp Lib "time2win.dll" (lo As tagVECTOR3, hi As tagVECTOR3, ByVal alpha As Double, w As tagVECTOR3)
  1131. Declare Sub cV3Mul Lib "time2win.dll" (u As tagVECTOR3, v As tagVECTOR3, w As tagVECTOR3)
  1132. Declare Sub cV3Neg Lib "time2win.dll" (u As tagVECTOR3)
  1133. Declare Sub cV3Normalized Lib "time2win.dll" (u As tagVECTOR3)
  1134. Declare Sub cV3ScaledNewLength Lib "time2win.dll" (u As tagVECTOR3, ByVal newlen As Double)
  1135. Declare Function cV3SegmentLength Lib "time2win.dll" (p As tagVECTOR3, q As tagVECTOR3) As Double
  1136.  
  1137. ' Functions for Huge String management
  1138. Declare Function cHugeStrAdd Lib "time2win.dll" (ByVal hsHandle As Integer, hsText As String) As Integer
  1139. Declare Function cHugeStrAddress Lib "time2win.dll" (ByVal hsHandle As Integer) As Long
  1140. Declare Function cHugeStrAppend Lib "time2win.dll" (ByVal hsHandle As Integer, hsText As String) As Integer
  1141. Declare Function cHugeStrBlocks Lib "time2win.dll" (ByVal hsHandle As Integer) As Long
  1142. Declare Function cHugeStrClear Lib "time2win.dll" (ByVal hsHandle As Integer) As Integer
  1143. Declare Function cHugeStrCreate Lib "time2win.dll" (ByVal hsSize As Long) As Integer
  1144. Declare Function cHugeStrFree Lib "time2win.dll" (ByVal hsHandle As Integer) As Integer
  1145. Declare Function cHugeStrGetNP Lib "time2win.dll" (ByVal hsHandle As Integer) As Long
  1146. Declare Function cHugeStrGetWP Lib "time2win.dll" (ByVal hsHandle As Integer) As Long
  1147. Declare Function cHugeStrLength Lib "time2win.dll" (ByVal hsHandle As Integer) As Long
  1148. Declare Function cHugeStrMid Lib "time2win.dll" (ByVal hsHandle As Integer, ByVal hsStart As Long, ByVal hsLength As Long) As String
  1149. Declare Function cHugeStrNext Lib "time2win.dll" (ByVal hsHandle As Integer, ByVal hsNext As Long) As String
  1150. Declare Function cHugeStrOnDisk Lib "time2win.dll" (ByVal hsHandle As Integer, ByVal hsFile As String, ByVal hsGetPut As Integer) As Long
  1151. Declare Function cHugeStrRead Lib "time2win.dll" (ByVal hsHandle As Integer, ByVal hsBlock As Long) As String
  1152. Declare Function cHugeStrSetNP Lib "time2win.dll" (ByVal hsHandle As Integer, ByVal hsPtr As Long) As Integer
  1153. Declare Function cHugeStrSetWP Lib "time2win.dll" (ByVal hsHandle As Integer, ByVal hsPtr As Long) As Integer
  1154. Declare Function cHugeStrSize Lib "time2win.dll" (ByVal hsHandle As Integer) As Long
  1155.  
  1156. ' Functions for Huge Memory Array management
  1157. Declare Function cHMAClear Lib "time2win.dll" (HMA As tagHMA) As Integer
  1158. Declare Function cHMAClearCol Lib "time2win.dll" (HMA As tagHMA, ByVal Col As Long, ByVal sheet As Long) As Integer
  1159. Declare Function cHMAClearRow Lib "time2win.dll" (HMA As tagHMA, ByVal Row As Long, ByVal sheet As Long) As Integer
  1160. Declare Function cHMAClearSheet Lib "time2win.dll" (HMA As tagHMA, ByVal sheet As Long) As Integer
  1161. Declare Function cHMACreate Lib "time2win.dll" (HMA As tagHMA) As Integer
  1162. Declare Function cHMAFree Lib "time2win.dll" (HMA As tagHMA) As Integer
  1163. Declare Function cHMAGet Lib "time2win.dll" (HMA As tagHMA, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long) As Variant
  1164. Declare Sub cHMAGetType Lib "time2win.dll" (HMA As tagHMA, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long, nType As Any)
  1165. Declare Sub cHMAPut Lib "time2win.dll" (HMA As tagHMA, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long, Var As Variant)
  1166. Declare Sub cHMAPutType Lib "time2win.dll" (HMA As tagHMA, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long, nType As Any)
  1167. Declare Sub cHMArGet Lib "time2win.dll" (HMA As tagHMA, ByVal Col As Long, Var As Variant)
  1168. Declare Sub cHMArGetType Lib "time2win.dll" (HMA As tagHMA, ByVal Col As Long, nType As Any)
  1169. Declare Sub cHMArPut Lib "time2win.dll" (HMA As tagHMA, ByVal Col As Long, Var As Variant)
  1170. Declare Sub cHMArPutType Lib "time2win.dll" (HMA As tagHMA, ByVal Col As Long, nType As Any)
  1171. Declare Sub cHMAsGet Lib "time2win.dll" (HMA As tagHMA, ByVal Row As Long, ByVal Col As Long, Var As Variant)
  1172. Declare Sub cHMAsGetType Lib "time2win.dll" (HMA As tagHMA, ByVal Row As Long, ByVal Col As Long, nType As Any)
  1173. Declare Sub cHMAsPut Lib "time2win.dll" (HMA As tagHMA, ByVal Row As Long, ByVal Col As Long, Var As Variant)
  1174. Declare Sub cHMAsPutType Lib "time2win.dll" (HMA As tagHMA, ByVal Row As Long, ByVal Col As Long, nType As Any)
  1175. Declare Function cHMAsClearCol Lib "time2win.dll" (HMA As tagHMA, ByVal Col As Long) As Integer
  1176. Declare Function cHMAsClearRow Lib "time2win.dll" (HMA As tagHMA, ByVal Row As Long) As Integer
  1177. Declare Function cHMAOnDisk Lib "time2win.dll" (HMA As tagHMA, ByVal hsFile As String, ByVal hsGetPut As Integer) As Long
  1178.  
  1179.